package com.boylegu.springboot_vue.service;

import com.boylegu.springboot_vue.entities.Users;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserService {
    void deleteById(String id);
    Users save(Users user);

    Page<Users> findAll(Pageable page);
    List<Users> findAll();
    public Users findById(String id);

}
